package com.ynet.middleground.riskmanage.mq;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author liulx
 */
public interface Source {

    String O_RISKMANAGE = "o_riskmanage";

    String OUT_RISKMANAGE = "out_riskmanage_test";

    /**
     * 往 MQ 推送消息，订阅消费
     * 
     * @return
     */
    @Output(Source.O_RISKMANAGE)
    MessageChannel notice();

    /**
     * 往 MQ 推送保理池消息
     *
     * @return
     */
    @Output(Source.OUT_RISKMANAGE)
    MessageChannel noticeBlch();

}
